package testClass;

import java.io.BufferedReader;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Scanner;

public class TestFriends {

	/**
	 * @param args
	 * @throws IOException 
	 */
	public static void main(String[] args) throws IOException {
		String emailaddress="ranjeetmathew@gmail.com";
		String path = "C:/SVN/WebContent/Members/"+emailaddress+"/friends.txt";
		Scanner s = new Scanner(new File(path));
		String friendemail="naveen@gmail.com";
		while (s.hasNext()){
		    if (friendemail.equals(s.next())){
		    	System.out.println("true");
		    }
		    else {System.out.println("false");
		}
		s.close();
	
	}
		
	}
}

